using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using SmartCodeGen.Providers.Base;
namespace SmartCodeGen.Providers
{

    [Serializable]
    public class ViewColumnSchemaCollection : BaseCollection
    {
        public ViewColumnSchemaCollection( ) : base() { }
        public ViewColumnSchemaCollection(SerializationInfo info, StreamingContext context) : base(info, context) { }

        public void Add(ViewColumnSchema obj)
        {
            Add(0, obj);
        }

        public new ViewColumnSchema this[int index]
        {
            get
            {
                object obj = Get(index);
                if (obj == null)
                    return null;
                else
                    return obj as ViewColumnSchema;
            }
            set
            {
                Set(index, value);
            }
        }
    }

}
